/*
 * $Id: bat3func.h 100 2008-05-26 12:25:59Z wimpunk $
 *
 * $LastChangedDate: 2008-05-26 12:25:59 +0000 (Mon, 26 May 2008) $
 * $Rev: 100 $
 * $Author: wimpunk $
 *
 * */

void changeled(struct bat3* state);
void doload(struct bat3* state, int target); 
void doread(struct bat3* state, int address);
void dowrite(struct bat3* state, int address, int value);

void setBatState(struct bat3* newState);
int getBatI();
struct bat3* getState();	
onoff_t getBatRun();
